package pATT.bNEdit.gui;

import java.awt.Dimension;

import javax.swing.tree.MutableTreeNode;

import pATT.bNEdit.jgraph.org.jgraph.graph.DefaultGraphCell;





/**
 * <p>Title: BNEdit</p>
 * <p>Description: Representation of differents node's views</p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author Luciana Zavaleta
 * @version 1.0
 */

public abstract class Cell {

 protected DefaultGraphCell cell;


 public Object getUserObject(){
   return cell.getUserObject();
 }

 public void add(MutableTreeNode mt){
   cell.add(mt);
 }

 public DefaultGraphCell getCell(){
   return cell;
 }

 public abstract void createCell(Object varName);
 public abstract Dimension getDimension();
}
